package com.castudio.Mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.castudio.Entity.Image;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 小陈同学
 * @since 2023-03-25
 */
@Mapper
public interface ImageMapper extends BaseMapper<Image> {
    List<Image> getAllImage(Integer page,Integer size,String name);
    Long getTotal(String title);
    void insert(String fileUrl,String name);
}
